//package com.hqbzl.c1.check;
//
//import jdk.tools.jaotc.collect.FileSystemFinder;
//
//import java.io.IOException;
//import java.nio.file.Files;
//import java.nio.file.Path;
//import java.nio.file.Paths;
//import java.util.Arrays;
//import java.util.Iterator;
//
//
//public class TestFileSystemFinder {
//    public static void main(String[] args) throws IOException {
//        Path start = Paths.get("E:\\video");
//        final FileSystemFinder visitor = new FileSystemFinder(start, path -> path.toFile().getName().endsWith(".mp4"));
//        Files.walkFileTree(start, visitor);
//        final Iterator<Path> iterator = visitor.iterator();
//        while (iterator.hasNext()) {
//            final Path next = iterator.next();
//            System.out.println("next = " + next);
//        }
//    }
//}
